package com.mastercard.assets.web.struts.forms;

import javax.servlet.http.HttpServletRequest;


import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;
import org.apache.struts.action.ActionMessage;

import com.mastercard.assets.util.dao.MasterCardDAO;
import com.mastercard.assets.web.util.to.ManejadorPaquetesDeAsset;
import com.mastercard.assets.web.util.to.PaqueteTO;
import com.mastercard.assets.web.util.to.UserLogin;

public class AssetAsignarPaquetesForm
	extends
		ActionForm
{
	private int operation ;
	private int cveAsset ;
	private ManejadorPaquetesDeAsset packageManager = new ManejadorPaquetesDeAsset( ) ;
	
	

	public int getOperation() {
		return operation;
	}


	public void setOperation(int operation) {
		this.operation = operation;
	}


	public ManejadorPaquetesDeAsset getPackageManager() {
		return packageManager;
	}


	public void setPackageManager(ManejadorPaquetesDeAsset packageManager) {
		this.packageManager = packageManager;
	}
	


	public int getCveAsset() {
		return cveAsset;
	}




	public void setCveAsset(int cveAsset) {
		
		packageManager.setCveAsset( cveAsset ) ;
		
		this.cveAsset = cveAsset;
	}


	public ActionErrors validate( ActionMapping mapping , HttpServletRequest request )
	{
//		System.out.println( "Entra al validate" ) ;
//		
		ActionErrors errors = new ActionErrors( ) ;
		
		return errors ;
	}
}
